package org.BUPT.infrastructure.persistent.po;

import lombok.Data;

import javax.persistence.*;
import java.util.Date;

@Data
@Entity
@Table(name = "user_like_answer")

// 复合主键需要实现Serializable接口
public class Like{
    @EmbeddedId
    LikePrimaryKey likePrimaryKey;
    Date createTime;
}
